package com.sky.d_fork_jion;

import java.util.Random;

/**
 * 产生一组随机的、指定大小的整数数组
 * @Author:hjt
 */
public class ArrayGenerator {
	
	public int[] generateArray(int size){
		int[] array = new int[size];
		Random random = new Random();
		for (int i=0; i<size; i++){
			array[i] = random.nextInt(10);
		}
		return array;
	}
	
}
